package com.rbac.utils;

public final class Constants {

    private Constants() {
        throw new IllegalStateException("Utility class");
    }

    /**
     * JWT 在 Redis 中保存的key前缀
     */
    public static final String REDIS_JWT_KEY_PREFIX = "gmadmin:security:jwt:";

    /**
     * JWT 在 Redis 中保存的刷新key前缀
     */
    public static final String REFRESH_REDIS_JWT_KEY_PREFIX = "gmadmin:security:refresh:jwt:";

    /**
     * 启用
     */
    public static final String ENABLE = "1";
    /**
     * 禁用
     */
    public static final String DISABLE ="0";

    /**
     * 按钮
     */
    public static final Integer BUTTON = 2;
    /**
     * 页面，组件地址
     */
    public static final Integer PAGE = 1;

    /**
     * 星号
     */
    public static final String SYMBOL_STAR = "*";

    /**
     * 邮箱符号
     */
    public static final String SYMBOL_EMAIL = "@";

    /**
     * 默认当前页码
     */
    public static final Integer DEFAULT_CURRENT_PAGE = 1;

    /**
     * 默认每页条数
     */
    public static final Integer DEFAULT_PAGE_SIZE = 10;

    /**
     * 匿名用户 用户名
     */
    public static final String ANONYMOUS_NAME = "匿名用户";

    /**
     * win 系统
     */
    public static final String WIN = "win";

    /**
     * mac 系统
     */
    public static final String MAC = "mac";
}
